why asterisk and slash are used in function